package com.zyj.java;

/**
 * @program: JVMDemo
 * @ClassName StackErrorTest
 * @author: YaJun
 * @Date: 2021 - 12 - 07 - 14:36
 * @Package: com.zyj.java
 * @Description:
 * 默认情况下：count：11407
 * 设置栈的大小：-Xss256k count：2457
 */
public class StackErrorTest {

    private static int count = 1;

    public static void main(String[] args) {
        System.out.println(count);
        count++;
        main(args);
    }

}
